package org.web3j.crypto.seele;

import org.web3j.crypto.Credentials;
import org.web3j.crypto.ECKeyPair;
import org.web3j.utils.Numeric;

import java.math.BigInteger;

/**
 * Keys generated for unit testing purposes.
 */
public class SampleKeys {

    public static final String TAG="Seele:";

//    public static final String PRIVATE_KEY_STRING =
//            "0x77515ff10513f45f86b60177fd18f1b7be66f360db6e925c6d88256e05df6aaf";
    public static final String PRIVATE_KEY_STRING =
            "0x24ce9cadcc9207c94296db166ab7a0fa686f2a6d29f7ea54fe8c22271c40812e";

//    public static final String PRIVATE_KEY_STRING =
//            "0xbf06c1c810c1228a05deaf3679969719154bd184fc682cef1a6127cc0c3d0759";

    static final String PUBLIC_KEY_STRING =
            "0x506bc1dc099358e5137292f4efdd57e400f29ba5132aa5d12b18dac1c1f6aab"
                    + "a645c0b7b58158babbfa6c6cd5a48aa7340a8749176b120e8516216787a13dc76";

    public static final String ADDRESS = "0xa2dc5722ed1ff84d0ce9b1f6d67b42f6dc285791";

//    public static final String ADDRESS = "0xef678007d18427e6022059dbc264f27507cd1ffc";
    public static final String ADDRESS_NO_PREFIX = Numeric.cleanHexPrefix(ADDRESS);

    public static final String PASSWORD = "Seele999";

    static final BigInteger PRIVATE_KEY = Numeric.toBigInt(PRIVATE_KEY_STRING);
    static final BigInteger PUBLIC_KEY = Numeric.toBigInt(PUBLIC_KEY_STRING);

    static final ECKeyPair KEY_PAIR = new ECKeyPair(PRIVATE_KEY, PUBLIC_KEY);

    public static final Credentials CREDENTIALS = Credentials.createSeele(PRIVATE_KEY_STRING);

    private SampleKeys() {
    }
}